package com.ki.rent.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="House对象", description="")
public class House implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "房屋编号")
    @TableId(value = "house_id", type = IdType.AUTO)
    private Integer houseId;

    @ApiModelProperty(value = "房东编号")
    private Integer hostId;

    @ApiModelProperty(value = "租出去的用户id")
    private Integer userId;

    @ApiModelProperty(value = "租房描述")
    private String houseDesc;

    @ApiModelProperty(value = "出租方式")
    private String houseType;

    @ApiModelProperty(value = "房屋面积")
    private Integer houseArea;

    @ApiModelProperty(value = "出租价格")
    private Integer housePrice;

    @ApiModelProperty(value = "出租地址")
    private String houseAddress;

    @ApiModelProperty(value = "房屋简介照片")
    private String houseImage;

    @ApiModelProperty(value = "细节图")
    private String houseDetail;

    @ApiModelProperty(value = "房屋联系电话")
    private String houseTel;

    @ApiModelProperty(value = "发布人")
    private String publisher;

    @ApiModelProperty(value = "发布时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "是否已租 0：未租 1：已租")
    private Integer houseStill;

    @ApiModelProperty(value = "逻辑删除")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "装修编号")
    private Integer styleId;


}
